body,html {
  margin: 0;
  padding: 0;
}

#my-slider {
  width: 790px;
  height: 340px;
  margin: 0 auto;
  position: relative;
}
#my-slider ul {
  width: 790px;
  height: 340px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

#my-slider ul li {
  position: absolute;
}

.slider-list__item, .slider-list__item--selected {
  opacity: 0;
}
.slider-list__item--selected {
  opacity: 1;
}

.slide-list__next::after {
  content: '>';
}
.slide-list__previous::after {
  content: '<';
}
.slide-list__next, .slide-list__previous {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  font-size: 26px;
  padding: 0 10px;
  position: absolute;
  top: 50%;
  margin-top: -25px;
  opacity: 0;
  cursor: pointer;
}
#my-slider:hover .slide-list__next,#my-slider:hover  .slide-list__previous {
  opacity: 1;
}
.slide-list__next {
  right: 0;
}
.slide-list__previous {
  left: 0;
}

.slide-list__control {
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 10px;
  border-radius: 12px;
}
.slide-list__control-buttons, .slide-list__control-buttons--selected {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
}
.slide-list__control-buttons--selected {
  background-color: red;
}
